package org.wxd.bi.po;

import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.wxd.batis.struct.DbColumn;
import org.wxd.lang.save.ObjectBase;
import org.wxd.net.web.template.ann.HtmlStyle;

import java.io.Serializable;

/**
 * 应用信息
 *
 * @author: Troy.Chen(無心道, 15388152619)
 * @version: 2021-10-21 12:37
 **/
public class AppInfo extends ObjectBase implements Serializable {

    private static final long serialVersionUID = 1L;
    private static final Logger log = LoggerFactory.getLogger(AppInfo.class);
    @HtmlStyle("width: 120px")
    @DbColumn(key = true, comment = "应用id")
    private int appId;
    @DbColumn(unique = true, comment = "应用名字")
    private String appName;
    @HtmlStyle("width: 320px")
    @DbColumn(unique = true, comment = "app token")
    private String appToken;
    @HtmlStyle("width: 320px")
    @DbColumn(index = true, comment = "创建时间")
    private long createTime;
    @HtmlStyle("width: 460px")
    @DbColumn(comment = "备注")
    private String comment;

    public String getAppToken() {
        return appToken;
    }

    public AppInfo setAppToken(String appToken) {
        this.appToken = appToken;
        return this;
    }

    public int getAppId() {
        return appId;
    }

    public AppInfo setAppId(int appId) {
        this.appId = appId;
        return this;
    }

    public String getAppName() {
        return appName;
    }

    public AppInfo setAppName(String appName) {
        this.appName = appName;
        return this;
    }

    public long getCreateTime() {
        return createTime;
    }

    public AppInfo setCreateTime(long createTime) {
        this.createTime = createTime;
        return this;
    }

    public String getComment() {
        return comment;
    }

    public AppInfo setComment(String comment) {
        this.comment = comment;
        return this;
    }
}
